package ch6;

public class USBCaTest {

	public static void main(String[] args) {
		PhotoTake p = new USBCamera("海康威视", "10000**10000", 1999);
		p.takePicture();

		USB u = (USB) p;
		u.plugin();
		u.unplugin();

		USBCamera uc = (USBCamera) p;

		uc.resizeScreen();
		System.out.println("USB设备的正常电压是:" + USB.V);
		// double d=USBCamera.V;
		// USB.V = 12;
	}

}
